What is give up the ghost?

"Give up the ghost" is an idiom with several related meanings, all revolving around the idea of cessation or failure.

The phrase has biblical origins and has been in use for centuries.